<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${organizationNews.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">机构类型：</label>
                            <div class="col-sm-8">
                                <input id="typeHidden" th:value="${organizationNews.type}" class="form-control"
                                       type="hidden">
                                <select id="type" name="type" class="form-control" type="text">
                                    <option value="">请选择</option>
                                    <option value="0">企业</option>
                                    <option value="1">机关</option>
                                    <option value="2">事业单位/学校</option>
                                    <option value="3">社会团体</option>
                                    <option value="4">其它组织机构</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">机构名称：</label>
                            <div class="col-sm-8">
                                <input id="name" name="name" th:value="${organizationNews.name}" class="form-control"
                                       type="text" placeholder="请输入机构名称：">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">机构代码：</label>
                            <div class="col-sm-8">
                                <input id="orgCode" name="orgCode" th:value="${organizationNews.orgCode}"
                                       class="form-control" type="text" placeholder="请输入机构代码">
                            </div>
                        </div>
                          <div class="form-group">
                            <label class="col-sm-3 control-label">考点编号：</label>
                            <div class="col-sm-8">
                                <input id="orgNum" name="orgNum" th:value="${organizationNews.orgNum}"
                                       class="form-control" type="text" placeholder="请输入考点编号">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">机构介绍：</label>
                            <div class="col-sm-8">
                                <textarea id="introduce" name="introduce" th:text="${organizationNews.introduce}"
                                          class="form-control" rows="5" placeholder="请输入机构介绍"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">机构所属省份：</label>
                            <div class="col-sm-8"  id="adre">
                                <input id="provinceHidden" th:value="${organizationNews.province}" class="form-control"
                                       type="hidden">
                                <select class="form-control" id="province" name="province">
                                    <option value="">请选择省份</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">机构地址：</label>
                            <div class="col-sm-8">
                                <input id="address" name="address" th:value="${organizationNews.address}"
                                       class="form-control" type="text" placeholder="请输入机构地址">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">所属行业：</label>
                            <div class="col-sm-8">
                                <input id="industry" name="industry" th:value="${organizationNews.industry}"
                                       class="form-control" type="text" placeholder="请输入所属行业">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">机构规模：</label>
                            <div class="col-sm-8">
                                <input id="orgSize" name="orgSize" th:value="${organizationNews.orgSize}"
                                       class="form-control" type="text" placeholder="请输入机构规模">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">机构logo：</label>
                            <div class="col-sm-8">
                                <img id="img" th:src="${organizationNews.orgPhoto}" style="width:150px;display:block;">
                                <input type="hidden" id="orgPhoto" name="orgPhoto" th:value="${organizationNews.orgPhoto}">
                                <button type="button" class="btn btn-success" id="btnUpload" style="margin-top: 10px;">
                                    <i class="fa fa-cloud"></i>上传机构logo
                                </button>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">印章：</label>
                            <div class="col-sm-8">
                                <img id="img1" th:src="${organizationNews.cachet}" style="width:150px;display:block;">
                                <input type="hidden" id="cachet" name="cachet" th:value="${organizationNews.cachet}">
                                <button type="button" class="btn btn-success" id="btnUpload1" style="margin-top: 10px;">
                                    <i class="fa fa-cloud"></i>上传印章图片
                                </button>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">机构特色：</label>
                            <div class="col-sm-8">
                                <input id="orgItem" name="orgItem" th:value="${organizationNews.orgItem}"
                                       class="form-control" type="text" placeholder="请输入机构特色">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">法人代表：</label>
                            <div class="col-sm-8">
                                <input id="legalRepresentative" name="legalRepresentative" th:value="${organizationNews.legalRepresentative}"
                                       class="form-control" type="text" placeholder="请输入法人代表">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">负责人：</label>
                            <div class="col-sm-8">
                                <input  name="leadingCadreId"
                                       th:value="${organizationNews.leadingCadreId}"type="hidden">
                                <input  name="leadingCadreId"  th:value="${organizationNews.LeadingCadreName}" readonly
                                        style="cursor: not-allowed" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">联系人：</label>
                            <div class="col-sm-8">
                                <input id="contacts" name="contacts" th:value="${organizationNews.contacts}"
                                       class="form-control" type="text" placeholder="请输入联系人">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">联系手机号：</label>
                            <div class="col-sm-8">
                                <input id="mobile" name="mobile" th:value="${organizationNews.mobile}"
                                       class="form-control" type="text" placeholder="请输入联系手机号">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">联系人职务：</label>
                            <div class="col-sm-8">
                                <input id="contactsPost" name="contactsPost" class="form-control"
                                       th:value="${organizationNews.contactsPost}" placeholder="请输入联系人职务" type="text">

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">招聘邮箱：</label>
                            <div class="col-sm-8">
                                <input id="mailbox" name="mailbox" th:value="${organizationNews.mailbox}"
                                       class="form-control" type="text" placeholder="请输入招聘邮箱">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">官网地址：</label>
                            <div class="col-sm-8">
                                <input id="url" name="url" th:value="${organizationNews.url}" class="form-control"
                                       type="text" placeholder="请输入官网地址">
                            </div>
                        </div>
                        <div class="form-group company" style="display: none">
                            <label class="col-sm-3 control-label">营业范围：</label>
                            <div class="col-sm-8">
                                <textarea id="scopeOfBusiness" name="scopeOfBusiness"
                                          th:text="${organizationNews.scopeOfBusiness}" placeholder="请输入营业范围"
                                          class="form-control"></textarea>
                            </div>
                        </div>
                        <div class="form-group company" style="display: none">
                            <label class="col-sm-3 control-label">员工学历层次：</label>
                            <div class="col-sm-8">
                                <input id="staffArrangement" name="staffArrangement"
                                       th:value="${organizationNews.staffArrangement}" class="form-control"
                                       placeholder="请输入员工学历层次" type="text">
                            </div>
                        </div>
                        <div class="form-group company">
                            <label class="col-sm-3 control-label">员工规模：</label>
                            <div class="col-sm-8">
                                <input id="staffSize" name="staffSize" th:value="${organizationNews.staffSize}"
                                       class="form-control" type="text" placeholder="请输入员工规模">
                            </div>
                        </div>
                        <div class="form-group school" style="display: none">
                            <label class="col-sm-3 control-label">学校性质：</label>
                            <div class="col-sm-8">
                                <input id="schoolNatureHidden" th:value="${organizationNews.schoolNature}"
                                       class="form-control" type="hidden">
                                <select id="schoolNature" name="schoolNature" class="form-control">
                                    <option value="">请选择</option>
                                    <option value="0">中职</option>
                                    <option value="1">高职</option>
                                    <option value="2">本科</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group school" style="display: none">
                            <label class="col-sm-3 control-label">考生数：</label>
                            <div class="col-sm-8">
                                <input id="numberOfExaminees" th:value="${organizationNews.numberOfExaminees}"
                                       name="numberOfExaminees" placeholder="请输入考生数" class="form-control" type="number">
                            </div>
                        </div>
                        <div class="form-group school">
                            <label class="col-sm-3 control-label">师资力量：</label>
                            <div class="col-sm-8">
                                <input id="teacherResources" name="teacherResources" placeholder="请输入师资力量"
                                       th:value="${organizationNews.teacherResources}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">培训工种：</label>
                            <div class="col-sm-8">
                                <input id="trainingJobs" name="trainingJobs" th:value="${organizationNews.trainingJobs}"
                                       class="form-control" placeholder="请输入培训工种" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">培训层次：</label>
                            <div class="col-sm-8">
                                <input id="trainingArrangement" name="trainingArrangement"
                                       th:value="${organizationNews.trainingArrangement}" placeholder="请输入培训层次"
                                       class="form-control" type="text" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">培训人数：</label>
                            <div class="col-sm-8">
                                <input id="trainingPerson" name="trainingPerson"
                                       th:value="${organizationNews.trainingPerson}" placeholder="请输入培训人数"
                                       class="form-control" type="number">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/organizationNews/edit.js">
</script>
<script src="/js/jquery.citys.js"></script>
</body>
</html>
